import React, { Component } from 'react';
import PropTypes from 'prop-types';
// import { Form, Row, Col } from 'antd';

import { PageTitle } from 'knk';
import { Button } from 'antd';

class PageTitleDemo extends Component {
    render() {    
        return (
            <div>
                <PageTitle 
                    title = "这是一个标题"
                />
                <PageTitle 
                    title = "这是一个标题"
                    subTitle = "这是副标题"
                />
                <PageTitle 
                    title = "这是一个标题"
                    subTitle = "这是副标题"
                    center = "这是中间"
                />
                <PageTitle 
                    title = "这是一个标题"
                    subTitle = "这是副标题"
                    center = "这是中间"
                    right = {
                        <Button type="primary">新增</Button>
                    }
                />
            </div>
           
        )
    }
}

PageTitleDemo.propTypes = {
    
};

export default PageTitleDemo;